package javaseof10day.day5.pm;

import java.util.ArrayList;
import java.util.Calendar;

public class classArrayAndListDemo {

	public static void main(String[] args) {

	//对象数组和集合的区别
		
		Users user[] = new Users[3];  //动态初始化
		user[0] = new Users(1,"admin","admin");
		user[1] = new Users(2,"sili","123456");
		
		

		ArrayList<Users> list = new ArrayList<Users>();
		list.add(new Users(1,"admin","admin"));
		list.add(new Users(2,"sili","123456"));
		
		
		
	}

}
